import request from '@/utils/request'

// 查询设计预算与设计支出列表
export function listDesignbudpayout(query) {
  return request({
    url: '/erp/designbudpayout/list',
    method: 'get',
    params: query
  })
}

// 查询设计预算与设计支出详细
export function getDesignbudpayout(id) {
  return request({
    url: '/erp/designbudpayout/' + id,
    method: 'get'
  })
}

// 新增设计预算与设计支出
export function addDesignbudpayout(data) {
  return request({
    url: '/erp/designbudpayout',
    method: 'post',
    data: data
  })
}

// 修改设计预算与设计支出
export function updateDesignbudpayout(data) {
  return request({
    url: '/erp/designbudpayout',
    method: 'put',
    data: data
  })
}

// 删除设计预算与设计支出
export function delDesignbudpayout(id) {
  return request({
    url: '/erp/designbudpayout/' + id,
    method: 'delete'
  })
}
